package com.ryan.spring.annotation.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created by kaimin on 23/1/2019.
 * time : 23:10
 */
@Data
@NoArgsConstructor
public class Person {
    private String name;
    private Integer age;

    public Person(String name, Integer age) {
        this.name = name;
        this.age = age;
        System.out.println(name+"创建成功");
    }
}
